# coding: utf-8
from application import db


class GiftType(db.Model):
    __tablename__ = 'gift_type'

    id = db.Column(db.Integer, primary_key=True, info='ID')
    title = db.Column(db.String(32), nullable=False, info='名称')
    created_time = db.Column(db.DateTime, nullable=False, server_default=db.FetchedValue())
    updated_time = db.Column(db.DateTime, nullable=False, server_default=db.FetchedValue())
    is_delete = db.Column(db.Integer, nullable=False)
